using M13.Base;
using QFramework;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace M13.Utility.Debugger
{
    public class GameEventDebugger : MonoBehaviour, IController
    {
        public IArchitecture GetArchitecture()
        {
            return GameArchitecture.Interface;
        }

#if UNITY_EDITOR
        private void Awake()
        {
            this.RegisterEvent<StartGameButtonOfMainMenu>((e) => { Debug.Log("��ʼ��Ϸ��ť�¼�"); });
            this.RegisterEvent<OptionButtonOfMainMenu>((e) => { Debug.Log("ѡ�ť�¼�"); });
            this.RegisterEvent<ExitButtionOfMainMenu>((e) => { Debug.Log("�˳���Ϸ��ť�¼�"); });
            this.RegisterEvent<IntoWorldButton>((e) => { Debug.Log("�������簴ť�¼�"); });
            this.RegisterEvent<SearchBoxValueChanged>((e) => { Debug.Log("�浵ɸѡ�����ݸı��¼�"); });
            this.RegisterEvent<IntoWorldCreationMenuButton>((e) => { Debug.Log("�������紴��ҳ�水ť�¼�"); });
            this.RegisterEvent<ExitFromSaveMenuButton>((e) => { Debug.Log("�˳��浵�б�ť�¼�"); });
            this.RegisterEvent<RefreshSaveListsButton>((e) => { Debug.Log("ˢ�´浵�б�ť�¼�"); });
            this.RegisterEvent<DeleteSaveButton>((e) => { Debug.Log("ɾ���浵��ť�¼�"); });
            this.RegisterEvent<ConfirmDeleteSaveButton>((e) => { Debug.Log("ȷ��ɾ���浵��ť�¼�"); });
            this.RegisterEvent<CancelDeleteSaveButton>((e) => { Debug.Log("ȡ��ɾ���浵��ť�¼�"); });
            this.RegisterEvent<CreateNewSaveButton>((e) => { Debug.Log("�����´浵/���簴ť�¼�"); });
            this.RegisterEvent<ExitFormWorldCreationMenuButton>((e) => { Debug.Log("�����紴��ҳ���˳���ť�¼�"); });
            this.RegisterEvent<SaveNameInputChanged>((e) => { Debug.Log("���紴��ҳ�������������ݸı��¼�"); });
            this.RegisterEvent<SaveSeedInputChanged>((e) => { Debug.Log("���紴��ҳ�������������ݸı��¼�"); });
            this.RegisterEvent<IntoWorld>((e) => { Debug.Log("���������¼�"); });
            this.RegisterEvent<QuitWorld>((e) => { Debug.Log("�˳������¼�"); });
            this.RegisterEvent<CreateWorld>((e) => { Debug.Log("��ʼ���������¼�"); });
            this.RegisterEvent<CreateWorldFinished>((e) => { Debug.Log("���紴������¼�"); });

        }
#endif
    }
}